/*
 *  Copyright 2004 Blandware (http://www.blandware.com)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.blandware.atleap.webapp.taglib.core.util;

/**
 * <p>Contains various constants used in this tag library</p>
 * <p><a href="TaglibConstants.java.html"><i>View Source</i></a></p>
 *
 * @author Sergey Zubtsovskiy <a href="mailto:sergey.zubtsovskiy@blandware.com">&lt;sergey.zubtsovskiy@blandware.com&gt;</a>
 * @version $Revision: 1.7 $ $Date: 2006/08/03 10:08:26 $
 */
public class TaglibConstants {

	/**
	 * Context key, under which map with grids is stored
	 */
	public static final String GRIDS = "com.blandware.atleap.webapp.taglib.grid.GRIDS";

	/**
	 * Default page context key under which row class is stored
	 * on each iteration of rows iterator
	 *
	 * @see com.blandware.atleap.webapp.taglib.core.grid.RowsIteratorTag
	 */
	public static final String ROW_CLASS_ATTR = "rowClass";

	/**
	 * Default page context key under which index of each iteration is stored
	 *
	 * @see com.blandware.atleap.webapp.taglib.core.grid.RowsIteratorTag
	 */
	public static final String INDEX_ID_ATTR = "indexId";

	/**
	 * Default page context key under which page number is stored
	 * on each iteration of pages iterator
	 *
	 * @see com.blandware.atleap.webapp.taglib.core.grid.PagerTag
	 * @see com.blandware.atleap.webapp.taglib.core.grid.PagesIteratorTag
	 */
	public static final String PAGE_NUMBER_ATTR = "pageNumber";

	/**
	 * Default page context key under which field name is stored in inside 'column' tag
	 *
	 * @see com.blandware.atleap.webapp.taglib.core.grid.ColumnTag
	 */
	public static final String FIELD_NAME_ATTR = "fieldName";

	/**
	 * Default page context key under which field key is stored in inside 'column' tag
	 *
	 * @see com.blandware.atleap.webapp.taglib.core.grid.ColumnTag
	 */
	public static final String FIELD_KEY_ATTR = "fieldKey";

	/**
	 * Context key under which name of field in grid is stored
	 * between filter actions executions
	 */
	public static final String FIELD_NAME = "com.blandware.atleap.taglib.grid.FIELD_NAME";

	/**
	 * Context key under which field bundle key is stored
	 * between filter actions executions
	 */
	public static final String FIELD_KEY = "com.blandware.atleap.taglib.grid.FIELD_KEY";

	/**
	 * Context key under which name grid is stored
	 * between filter actions executions
	 */
	public static final String GRID_NAME = "com.blandware.atleap.taglib.grid.GRID_NAME";

	/**
	 * Context key under which page URL where grid is located is stored
	 * between filter actions executions
	 */
	public static final String PAGE_URL = "com.blandware.atleap.taglib.grid.PAGE_URL";

}
